package pers.cz.service.impl;

import pers.cz.business.SystemNoticeBusiness;
import pers.cz.pub.BeanHelper;
import pers.cz.service.SystemNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: PostGirl-panent
 * @description: SystemNoticeServiceImpl
 * @author: Cheng Zhi
 * @create: 2022-03-20 14:27
 **/
@Service
public class SystemNoticeServiceImpl implements SystemNoticeService {

    @Autowired
    BeanHelper beanHelper;

    @Override
    public String getNotice() {

        SystemNoticeBusiness business = new SystemNoticeBusiness();
        business.setMapper(beanHelper);
        return business.getNoticeMessage();
    }

    @Override
    public Integer addNotice(String noticeMessage) {
        return null;
    }

    @Override
    public Integer deleteNotice(Integer id) {
        return null;
    }
}
